﻿using Microsoft.Phone.Net.NetworkInformation;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Windows8Accelerator.Core.Xaml.Helpers
{
    public class ConnectionHelper
    {
        public static bool GetIsInternetConnectionAvailable()
        {
            return (NetworkInterface.NetworkInterfaceType != NetworkInterfaceType.None);
        }
    }
}
